#ifndef __SCNS_PMW3901_H__
#define __SCNS_PMW3901_H__

#include "ScnsConfig.h"

#if defined(SCNS_PMW3901_ENABLE)&&SCNS_PMW3901_ENABLE==1

#include "ScnsYing.h"
#include "ScnsBspPmw3901.h"

typedef struct
{
    float x;
    float y;
    float sumX;
    float sumY;
}ScnsPmw3901Result;

extern ScnsPmw3901Result scnsPmw3901Result[SCNS_PMW3901_MAX];

extern ScnsStatus scnsPmw3901Init(ScnsPmw3901Enum pmwN);
extern void scnsPmw3901Interrupt(ScnsPmw3901Enum pmwN);

#endif
#endif
